
package com.cms.service;

import java.io.InputStream;
import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.cms.entity.DormBuild;
import com.cms.entity.Teacher;
import com.cms.utils.page.Pagination;

/**
 * @ClassName: DormBuildService
 * @Description: TODO
 * @date 2021-02-27 15:41:09
 */
public interface DormBuildService {

    int deleteByPrimaryKey(Integer id);

    int deleteDormBuild(List<String> ids);

    int addDormBuild(DormBuild record) throws Exception;

    int getTotalItemsCount(String searchKey);

    DormBuild selectDormBuild(String id);

    int updateDormBuild(DormBuild record);

    int importExcelInfo(InputStream in, MultipartFile file) throws Exception;

    List<DormBuild> getDormBuildList(Pagination<DormBuild> page, String searchKey);

    List<DormBuild> getDormBuildForSelect(String searchKey);
}
